package com.neudu.yiyang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neudu.yiyang.pojo.Menu;
import com.neudu.yiyang.service.MenuService;
import com.neudu.yiyang.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 16462
* @description 针对表【menu】的数据库操作Service实现
* @createDate 2025-03-31 21:56:23
*/
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu>
    implements MenuService{

    @Autowired
    MenuMapper menuMapper;

    public List<Menu> getByroleid(Integer roleid){
        return menuMapper.selectbyroleid(roleid);
    }

}




